$('#task_body').html('<%= escape_javascript render('logs/logs') %>');
$('#calendar').fullCalendar( 'refetchEvents' );
$(".alert.alert-success").show().find('span').html("Log(s) created successfully.");
$('#new_log')[0].reset();
$('#log_date').val($.datepicker.formatDate('yy-mm-dd', new Date()) );